cmake_minimum_required(VERSION 3.9.2)
SET(CMAKE_SYSTEM_NAME "Linux")
SET(CMAKE_SYSTEM_PROCESSOR "arm")
SET(CMAKE_C_COMPILER "arm-hisiv100nptl-linux-gcc")
SET(CMAKE_CXX_COMPILER "arm-hisiv100nptl-linux-g++")
# 项目名
project(app)
set(CMAKE_CXX_STANDARD 14)
set(TARGET app)
aux_source_directory(./app src_fiels)
aux_source_directory(./utils utils_files)
aux_source_directory(./common common_files)

add_executable(${TARGET} ${src_fiels} ${utils_files} ${common_files})

#include_directories(${TARGET} ./utils)
target_include_directories(${TARGET} PUBLIC ./include ./utils ./common ./mongoose)

target_link_libraries(${TARGET} -L ./mongoose/lmongoose pthread )
